package org.smile.validate;

import java.lang.annotation.*;

import org.smile.commons.Strings;

@Target({ElementType.METHOD,ElementType.TYPE,ElementType.FIELD,ElementType.ANNOTATION_TYPE,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Validate {
	/**在资源文件中使用前缀*/
	public String prefix() default Strings.BLANK;
	/**需验证的字段*/
	public Field[] fields() default {};
}
